#ifndef DOCTORDETAILWIDGET_H
#define DOCTORDETAILWIDGET_H

#include <QWidget>
#include "../../../Common/models.h"

namespace Ui {
class DoctorDetailWidget;
}

class DoctorDetailWidget : public QWidget
{
    Q_OBJECT

public:
    explicit DoctorDetailWidget(const Doctor& doctor, QWidget *parent = nullptr);
    ~DoctorDetailWidget();

signals:
    void closed();

private slots:
    void on_closeButton_clicked();
    void on_bookButton_clicked();

private:
    Ui::DoctorDetailWidget *ui;
    Doctor m_doctor;
    
    void displayDoctorInfo();
};

#endif // DOCTORDETAILWIDGET_H

